package com.yigang.entity;

import java.util.List;

/**
 * @author 陈佳祥 商品实体类
 */
public class Product {
//	商品id
	private Integer productId;
//商品名称
	private String productName;
//商品分类
	private Integer classificationId;
//商品品牌
	private String productBrand;
//商品介绍
	private String productIntroduction;
//商品库存
	private Integer productInventory;
//商品价格
	private String productPrice;
//    商品主图
	private String productMaingraph;
//商品上下架状态
	private Integer productShelf;
//    商品折扣价
	private Integer productDiscount;
	// 商品推荐状态
	private Integer productRecommend;
//推荐位置
	private String recommendPosition;
	// 分类名称
	private String product_classification;

	private List<Color> colorList;

	private List<ProductImg> productImgList;

	public Integer getProductId() {
		return productId;
	}

	public void setProductId(Integer productId) {
		this.productId = productId;
	}

	public String getProductName() {
		return productName;
	}

	public void setProductName(String productName) {
		this.productName = productName;
	}

	public Integer getclassificationId() {
		return classificationId;
	}

	public void setclassificationId(Integer classificationId) {
		this.classificationId = classificationId;
	}

	public String getProductBrand() {
		return productBrand;
	}

	public void setProductBrand(String productBrand) {
		this.productBrand = productBrand;
	}

	public String getProductIntroduction() {
		return productIntroduction;
	}

	public void setProductIntroduction(String productIntroduction) {
		this.productIntroduction = productIntroduction;
	}

	public Integer getProductInventory() {
		return productInventory;
	}

	public void setProductInventory(Integer productInventory) {
		this.productInventory = productInventory;
	}

	public String getProductPrice() {
		return productPrice;
	}

	public void setProductPrice(String productPrice) {
		this.productPrice = productPrice;
	}

	public String getProductMaingraph() {
		return productMaingraph;
	}

	public void setProductMaingraph(String productMaingraph) {
		this.productMaingraph = productMaingraph;
	}

	public Integer getProductShelf() {
		return productShelf;
	}

	/*
	 * public void setProductShelf(Integer productShelf) { this.productShelf =
	 * productShelf; }
	 */

	public Integer getProductDiscount() {
		return productDiscount;
	}

	public void setProductDiscount(Integer productDiscount) {
		this.productDiscount = productDiscount;
	}

	public Product() {
		super();
	}

	public Product(Integer productId, String productName, Integer classificationId, String productBrand,
			String productIntroduction, Integer productInventory, String productPrice, String productMaingraph,
			Integer productShelf, Integer productDiscount, Integer productRecommend, String recommendPosition) {
		super();
		this.productId = productId;
		this.productName = productName;
		this.classificationId = classificationId;
		this.productBrand = productBrand;
		this.productIntroduction = productIntroduction;
		this.productInventory = productInventory;
		this.productPrice = productPrice;
		this.productMaingraph = productMaingraph;
		this.productShelf = productShelf;
		this.productDiscount = productDiscount;
		this.productRecommend = productRecommend;
		this.recommendPosition = recommendPosition;
	}

	public Integer getProductRecommend() {
		return productRecommend;
	}

	public void setProductRecommend(Integer productRecommend) {
		this.productRecommend = productRecommend;
	}

	public void setProductShelf(Integer productShelf) {
		this.productShelf = productShelf;
	}

	public String getRecommendPosition() {
		return recommendPosition;
	}

	public void setRecommendPosition(String recommendPosition) {
		this.recommendPosition = recommendPosition;
	}

}